﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using ConfApp.Infrastructure;
using ConfApp.Models;
using Microsoft.Phone.Reactive;

namespace ConfApp.Services.Mock
{
    public class TwitterServiceClientMock : ITwitterServiceClient
    {
        public IObservable<TwittBatch> GetNewTwitts(string refreshUrl)
        {
            return Observable.Return(
                new TwittBatch()
                    {
                        MaxId = "123",
                        Twitts = new List<Twitt>
                                     {
                                         new Twitt()
                                             {
                                                 User = "Mika",
                                                 Text = "Hello " + DateTime.Now,
                                                 Date = DateTime.Now
                                             }
                                     }
                    });
        }
    }
}
